<?php
date_default_timezone_set( "Asia/Shanghai" );
$time = date( "Y" );
$min_birth = max( 1989, 1994, 1985, 1990, 1992, 1995, 1974 );
$age = $time - $min_birth;
echo sprintf( "最年轻的是%d出生的,今年%d岁", $min_birth, $age );